
package com.zhitan.ems.app.stat.wrapper;
import com.zhitan.ems.app.stat.entity.StatisticsYearEntity;
import com.zhitan.ems.app.stat.vo.StatisticsYearVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 年统计数据表 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:59:37
 */
public class StatisticsYearWrapper extends BaseEntityWrapper<StatisticsYearEntity, StatisticsYearVO>  {
    public static StatisticsYearWrapper build() {
        return new StatisticsYearWrapper();
    }
	@Override
	public StatisticsYearVO entityVO(StatisticsYearEntity statisticsYear) {
		if(statisticsYear==null) {
			return null;
		}
		StatisticsYearVO statisticsYearVO = BeanUtil.copy(statisticsYear, StatisticsYearVO.class);
		return statisticsYearVO;
	}

}
